package com.vermicelli.mapper;

import com.usian.user.User;
import com.usian.column.Vermicelli;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface VermicelliMapper {
    @Select("select * from vermicelli where concern_id = #{id}")
    List<Vermicelli> getVermicelliNum(Integer id);
    @Select("select * from tb_user where id=#{vermicelliId}")
    User selectById(Integer vermicelliId);
    @Select("select * from vermicelli where vermicelli_id = #{id}")
    List<Vermicelli> concernList(Integer id);
}
